<?php
$db='abc';
$stu = require 'db.php';

//$stu 必须是数组类型
//$k 键名
//$s 键值
foreach($stu as $k=>$s)
{
	$k++;
	echo "<li>id:{$k} name: {$s['name']}</li>";
}